package com.zhoudb.blog.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhoudb.blog.entity.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 菜单表 Mapper 接口
 * </p>
 *
 * @author zhoudb
 * @since 2018-10-13
 */
public interface MenuMapper extends BaseMapper<Menu> {

    List<Menu> listPage(Page map, @Param("query") QueryWrapper query);
}
